module State.InitializeState;
private import State.IState;
private import Explode.GameState;
private import Explode.GameConfig;
private import Graphics.IGraphics;
private import System.BootInfo;

public class InitializeState : BasicState{
	IGraphics _graphics;
	
	public this( IGraphics g ) {
		_graphics = g;
	} //
	public IState call( IState caller ) {
		GameConfig.init();
		return this;
	} //
	
	public IState action(){
		IState s = new GameState( _graphics );
		return s.call( null );
	} //
} //